function confirmPost(formname){
    
	var agree = confirm("You are about to delete users. If you confirm this operation these users will not be able to access the application. Do you want to delete these users?");
    if (agree){
    	document.forms[formname].submit();
    	//ir al controlador y eliminar el usuario
    }
}

document.getElementById("Delete").onclick=confirmPost;

function countCharacters() {
    document.getElementById("charactersLeft").innerHTML = (500 - document
                    .getElementById("experienceText").value.length)+ " characters left";
}